<tr>
<td><?php echo $data->passport;?></td>
<td><?php echo $data->nickname;?></td>
<td><?php echo $data->level;?></td>
<td><?php echo $data->scores;?></td>
<td><?php echo $data->regip;?></td>
<td><?php echo $data->regtime;?></td>
<td><?php echo $data->meminfo->lastloginip;?></td>
<td>
<?php if($data->state == 1) echo "正常";?>
<?php if($data->state == 2) echo "锁定";?>
</td>
<td><?php echo $data->meminfo->logintimes;?></td>
<td>
<a href="<?php echo yii::app()->baseUrl;?>/members/showedit/<?php echo $data->id;?>">编辑</a>
<?php if($data->state == 1) {?>
<a href="<?php echo yii::app()->baseUrl;?>/members/banned/id/<?php echo $data->id;?>/state/2">封禁</a>
<?php }?>
<?php if($data->state == 2){?>
<a href="<?php echo yii::app()->baseUrl;?>/members/banned/id/<?php echo $data->id;?>/state/1">解封</a>
<?php }?>
<a href="<?php echo yii::app()->baseUrl;?>/members/del/<?php echo $data->id;?>">删除</a>
</td>
</tr>
